#ifndef FCITXDBUS_H
#define FCITXDBUS_H
#include <QObject>
#include <QDBusArgument>

#define FCITX_DBUS_SERVICE "org.fcitx.Fcitx"
#define FCITX_DBUS_PATH "/inputmethod"
#define FCITX_DBUS_INF "org.fcitx.Fcitx.InputMethod"
#define DBUS_PROP_INF "org.freedesktop.DBus.Properties"

struct ArgPlaceholder {};

class DBusSingalHandler : public QObject{
Q_OBJECT
public:
    DBusSingalHandler(QObject *parent=nullptr) : QObject(parent) {}
public slots:
    void propsChanged(QString inf, ArgPlaceholder, QStringList array);
};


#endif // FCITXDBUS_H
